package cn.xuchunh.campusbbs.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;

import cn.xuchunh.campusbbs.R;

/**
 * Created by XuChunH on 2015/9/13.
 */
public class TopicViewHolder extends RecyclerView.ViewHolder {

    public TextView title, subject, date, nickName, hits, replies;

    public TopicViewHolder(View itemView) {
        super(itemView);
        title = (TextView) itemView.findViewById(R.id.title);
        subject = (TextView) itemView.findViewById(R.id.subject);
        date = (TextView) itemView.findViewById(R.id.date);
        nickName = (TextView) itemView.findViewById(R.id.nickname);
        hits = (TextView) itemView.findViewById(R.id.hits);
        replies = (TextView) itemView.findViewById(R.id.replies);
    }
}
